package com.e3.basdoc.employee.client;

import java.util.List;

import com.e3.basdoc.employee.model.EmployeeModel;
import com.e3.basdoc.employee.model.EmployeeQC;
import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface EmployeeRPCServiceAsync {

	void newEmployee(EmployeeModel model, AsyncCallback<EmployeeModel> callback);

	void modifyEmployee(EmployeeModel model,AsyncCallback<EmployeeModel> callback);

	void getEmployeeByCondition(EmployeeQC currencyQC,AsyncCallback<List<EmployeeModel>> callback);

	void deleteEmployees(List<EmployeeModel> models, AsyncCallback<Void> callback);

	void getPagingEmployee(PagingLoadConfig config,AsyncCallback<PagingLoadResult<EmployeeModel>> callback);

}
